interface Point1{
  x:number,
  y:number
}
interface Point2 extends Point1{
  z:number
}
var acc:Point2={
  x:1,
  y:2,
  z:3
}
console.log(acc.x);
